package com.guli.eduService.client;

import com.guli.commonUtils.vo.UcenterVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-ucenter" , fallback = UcenterFeignClient.class)
@Component
public interface UcenterClient {
    // 根据会员id，获取该课程的基本数据信息;
    @GetMapping("/edu/ucenterMember/getMemberInfoByMemberId/{memberId}")
    public UcenterVO getMemberInfoByMemberId(@PathVariable("memberId") String memberId);
}
